package com.ruoyi.domain;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;

import com.ruoyi.common.annotation.Excel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 客户预约表
 * </p>
 *
 * @author 林颖
 * @since 2025-02-05
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("booking")
@ApiModel(value="Booking对象", description="客户预约表")
public class Booking implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "数据唯一标识")
    @TableId(value = "booking_id", type = IdType.NONE)
    private String bookingId;

    @Excel(name = "姓名")
    @ApiModelProperty(value = "预约人的姓名")
    private String name;

    @Excel(name = "性别",readConverterExp = "0=男,1=女")
    @ApiModelProperty(value = "性别")
    private String gender;

    @Excel(name = "年龄")
    @ApiModelProperty(value = "年龄")
    private String age;

    @Excel(name = "来诊时间",dateFormat="yyyy-MM-dd HH:mm:ss", width=20)
    @ApiModelProperty(value = "来诊时间")
    private String appointmentTime;

    @Excel(name = "联系电话")
    @ApiModelProperty(value = "联系电话")
    private String phoneNumber;

    @Excel(name = "留言",cellType = Excel.ColumnType.TEXT,wrapText=true)
    @ApiModelProperty(value = "留言")
    private String message;

    @ApiModelProperty(value = "预约的用户ID 关联客户表customer")
    private String customerId;

    @ApiModelProperty(value = "排队状态 0-排队中 1-就诊中 2-已完成")
    private String queueStatus;


}
